<template>
  <div class="box1">
    <img :src="dogImgUrl" alt="" />
    <p>{{ dogName }}</p>
  </div>
</template>

<script>
export default {
  props: ['dogImgUrl', 'dogName'],
}
</script>

<style scoped>
.box1 {
  width: 200px;
  height: 200px;
  text-align: center;
  border: 1px solid #000;
  float: left;
}
.box1 img {
  width: 100%;
  height: 150px;
}
</style>
